<?php
namespace app\index\controller;

use \think\Controller;

class User extends Controller
{
    //用户登录
    public function login()
    {
        $wechat = new Wechat();
        $res = $wechat -> oauth();
        return $res;
    }

    //用户注册
//    public function register()
//    {
//
//    }

    //用户退出
    public function logout()
    {

    }
}